<% content_for :sidebar do -%>
  <%= render :partial => 'intro', :locals => {:user => @user} %>
  
  <h2><%= link_to "返回#{@user.login}的个人页面", user_url(@user.id) %></h2>
<% end -%>

<h1><%= @user.login %>的全部友邻</h1>
<%= render :partial => "/shared/users", :object => @neighbors %>